#ifndef TABLESYMB_H
#define TABLESYMB_H

#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdbool.h>
#include <assert.h>

extern int NBVAR;
//structure des nature
typedef enum Nature Nature;
enum Nature {
    n_var_inst,
    n_var_glob,
    n_var_loc
};

//structure des types
typedef enum Type Type;
enum Type
{
	t_no,
    t_int,
    t_float,
    t_bool,
    t_chaine,
    t_char,
    t_tab,
    t_list,
	t_objet,
	t_void,
};

char const* pp_type(Type t);
char const* pp_nature(Nature);
bool t_isnumeric(Type t);
Nature id_getnature(char const*);
bool id_isconstant(char const* s);
bool id_isinstance(char const* s);
bool id_isglobal(char const* s);

#endif
